package org.dromara.patrol.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.patrol.domain.PatrolSnapImg;

import java.io.Serial;
import java.util.List;


/**
 * 巡店管理-抓拍巡店图片视图对象 patrol_snap_img
 *
 * @author LionLi
 * @date 2024-03-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PatrolSnapImg.class)
public class PatrolSnapImgVo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 图片id
     */
    @ExcelProperty(value = "图片id")
    private Long imgId;

    /**
     * 计划id
     */
    @ExcelProperty(value = "计划id")
    private Long snapPlanId;

    /**
     * 门店id
     */
    @ExcelProperty(value = "门店id")
    private Long storeId;

    /**
     * 设备id
     */
    @ExcelProperty(value = "设备id")
    private Long deviceId;

    /**
     * 通道ids
     */
    @ExcelProperty(value = "通道ids")
    private String channelIds;

    /**
     * 抓拍图片路径
     */
    @ExcelProperty(value = "抓拍图片路径")
    private String imgUrl;

    /**
     * 处理状态（字典表：INSPECTED 已处理，NON_INSPECT 未处理）
     */
    @ExcelProperty(value = "处理状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "字=典表：INSPECTED,已=处理，NON_INSPECT,未=处理")
    private String inspectStatus;


    /**
     * 设备名称
     */
    private String deviceName;


    private String planName;


    private String StoreName;


    private   List<PatrolSnapRecordVo>  recordVos;



}
